package com.woniu.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_customer_customer")
public class Customer {
    @TableId(type = IdType.ASSIGN_UUID)//uuid
    private String id;//主键
    private String realName;//姓名
    private String nickName;//昵称
    private String logo;//头像
    private Integer age;//年龄
    private String idNumber;//身份证号
    private Integer sex;//性别
    private String birthday;//生日
    private String address;//收货地址
    private String phone;//手机号
    private String password;//密码
    private BigDecimal accountBalance;//账户余额
    private BigDecimal accountFrozen;//冻结资金
    private Integer grade;//积分
    private Integer status;//审核状态


}
